﻿package com.netease.dylan.test4;

import com.sun.mirror.apt.*;
import com.sun.mirror.declaration.*;
import java.util.*;

public class InterfaceExtractorProcessorFactory implements
		AnnotationProcessorFactory {
	// 获取注解处理器
	public AnnotationProcessor getProcessorFor(
			Set<AnnotationTypeDeclaration> atds,
			AnnotationProcessorEnvironment env) {
		return new InterfaceExtractorProcessor(env);
	}

	// 定义注解处理器所支持的注解类型
	public Collection<String> supportedAnnotationTypes() {
		return Collections.singleton("ExtractInterface");
	}

	// 定义注解处理器支持的选项
	public Collection<String> supportedOptions() {
		return Collections.emptySet();
	}
}
